package com.atguigu.app;

import redis.clients.jedis.Jedis;

/**
 * @className: Test8_Redis_Connection
 * @author: LinCong
 * @description:
 * @date: 2023/2/15 3:16
 * @version: 1.0
 */
public class Test8_Redis_Connection {
    public static void main(String[] args) {
        Jedis jedis= new Jedis("hadoop3-01",6379);
//        jedis.auth("000000");
        System.out.println(jedis.ping());
    }
}
